import { request } from "../../utils/request.js"


// 查询地址列表
export const queryAddressBookList = (params) => {
	return request({
		url: '/address/list',
		method: 'GET',
		params
	})
}

// 更改默认地址
export const updateAddressBookDefault = (params) => {
	return request({
		url: '/address/default',
		method: 'PUT',
		params
	})
}